package com.zhuzhe.blog.oauth2.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

@Primary
@Configuration
@ConfigurationProperties(prefix = "swagger")
public class ApplicationProperties {

    /**
     * swagger配置
     */
    private static String swaggerUrl;


    public static String getSwaggerUrl() {
        return swaggerUrl;
    }

    public void setSwaggerUrl(String swaggerUrl) {
        ApplicationProperties.swaggerUrl = swaggerUrl;
    }
}
